<div class="btn-group w-100" role="group" aria-label="Basic example x"> <a ng-if="$ctrl.previewUrl" target="_blank" href="{{$ctrl.previewUrl}}" class="btn btn-outline-primary"><i class="fas fa-eye"></i> <span ng-bind="$ctrl.translate('Preview')">Preview</span> </a><a ng-if="$ctrl.contentUrl" href="{{$ctrl.contentUrl}}" class="btn btn-outline-primary"><i class="fa fa-align-justify"></i> <span ng-bind="$ctrl.translate('Data')">Data</span> </a><button id="btnToSubmit" type="submit" class="btn btn-outline-primary"><i class="fa fa-save"></i> <span>Save</span></button> <button type="button" ng-click="$ctrl.clearCache()" class="btn btn-outline-primary"><i class="fa fa-recycle"></i> <span>Clear cache</span></button></div>